projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dae0a9
)
fix invalid read in fill_freloc
author
Andrea Corallo
<akrl@sdf.org>
Sun, 22 Dec 2019 08:58:33 +0000
(09:58 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:38:15 +0000
(11:38 +0100)
src/comp.c
patch
|
blob
|
history
diff --git
a/src/comp.c
b/src/comp.c
index 6d496e89bf7ad82747b2e31e36f2b24b5d201cdb..75b41e2af8fbd42d1d73a6cb211f5f2e8cc1fb8c 100644
(file)
--- a/
src/comp.c
+++ b/
src/comp.c
@@
-3125,7
+3125,7
@@
fill_freloc (void)
{
if (ARRAYELTS (helper_link_table) > F_RELOC_MAX_SIZE)
goto overflow;
- memcpy (freloc.link_table, helper_link_table, sizeof (
freloc.
link_table));
+ memcpy (freloc.link_table, helper_link_table, sizeof (
helper_
link_table));
freloc.size = ARRAYELTS (helper_link_table);
Lisp_Object subr_l = Vsubr_list;